package com.wyx.Common;

/**
 * 与前端的相沟通的代码
 */
public class Code {
    //成功情况提示的数字
    public  static final Integer SELECT_PAGE_OK=101;
    public  static final Integer SELECT_ALL_OK=201;
    public  static final Integer SELECT_ONE_OK=301;
    public  static final Integer UPDATE_OK=401;
    public  static final Integer DELETE_OK=501;
    public  static final Integer ADD_OK=601;
    //系统提示信息
    public static final String SYSTEM_OK="";
    public static final String SYSTEM_ERR="系统繁忙，请稍后再试";
    //用户登录成功提示
    public  static final Integer USER_OK=801;
    public  static final Integer SAVEUSER_OK=1001;
    public  static final Integer USERNAME_OK=901;


    public  static final Integer USER_ERR=800;
    public  static final Integer SAVEUSER_ERR=1000;
    public  static final Integer USERNAME_ERR=900;
    //失败情况提示的数字
    public  static final Integer SELECT_PAGE_ERR=100;
    public  static final Integer SELECT_ALL_ERR=200;
    public  static final Integer SELECT_ONE_ERR=300;
    public  static final Integer UPDATE_ERR=400;
    public  static final Integer DELETE_ERR=500;
    public  static final Integer ADD_ERR=600;
}